

#include "stdio.h"
#include "sys/types.h"
#include "unistd.h"
#include "pthread.h"

int main()
{
    pid_t pid;
    pthread_t tid;

    pid = getpid();
    tid = pthread_self();

    printf("pid is %u, tid is %u\n", pid,(unsigned int) tid);

    return 0;
}
